/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session;

import javax.ejb.Local;
import Entity.SalesInquiry;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author cheeseng
 */
@Local
public interface SalesInquirySessionLocal {

    public Long createSaleInquiry(Long leadId, String contactPerson, String comAddress1, String comAddress2, String comPostalCode, String comCountry,String phone, String salutation, String email, Integer gst, String additionalChargeDesc, Double additionalCharge, String additionalChargeType, Double transportCharge, String transportChargeType, Long userId, ArrayList<Long> saleItem);

    public Boolean updateSaleInquiry(Long inquiryId, Long addressId, String contactPerson, String phone, String salutation, String email, Integer gst, String additionalChargeDesc, Double additionalCharge, String additionalChargeType, Double transportCharge, String transportChargeType);

    public boolean removeSaleInquiry(Long inquiryId) throws Exception;
    //public Long convertSaleInquiry(Long inquiryId);
    // get all sale inquiry
}
